/*
 * AisleNav Android Application
 * PickStoreQRActivity.java
 * project.AisleNav.StoreActivity
 * 
 * CS495
 * 
 * Team:
 * 		Kirby Green
 * 		Mark Hale
 * 		Adam Warnock
 * 
 * Time: 6:14:35 PM
 * Date: Dec 4, 2011
 * 
 */
package project.AisleNav.StoreActivity;

import project.AisleNav.R;
import project.AisleNav.ListActivity.PickListActivity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

// TODO: Auto-generated Javadoc
/**
 * The Class PickStoreQRActivity.
 *
 * @PickStoreQRActivity.java Pick a store via QR code
 * @author Kirby Green
 * @version 0.1
 */
public class PickStoreQRActivity extends Activity {
	
	/** The capture button. */
	private static Button captureButton;

	/* (non-Javadoc)
	 * @see android.app.Activity#onCreate(android.os.Bundle)
	 */
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.pick_store_qr);
		captureButton = (Button) findViewById(R.id.getqrcode);

		captureButton.setOnClickListener(new View.OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO QR stuff

				Intent i = new Intent(PickStoreQRActivity.this, PickListActivity.class);
				startActivity(i);

			}
		});
	}

}
